package com.example.three.DO;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;
@Component
@ConfigurationProperties(prefix = "person")
@Data
public class Person {
    String id;
    String name;
    String[] hobby;
    String[] fimaly;
    Pet pet;
}
